﻿using System.Collections.Generic;

namespace MicroMq.Services
{
    public class DelayWorkGroup
    {
        public DelayWorkGroup(DelayWorkItem workItem)
        {
            Jobs = new Queue<DelayWorkItem>();
            Jobs.Enqueue(workItem);
            ExecuteTime = workItem.ExecuteTime;
        }
        public long ExecuteTime { get; set; }
        public Queue<DelayWorkItem> Jobs { get; set; }
    }
}
